.fault-repair-page {
  min-height: 90vh;
  background: #f7f8fa;
  padding-top: calc(env(safe-area-inset-top) + 160rpx);

  .fault-repair-navbar {
    --nav-bar-icon-color: #343a40;
  }
  .header {
    display: flex;
    justify-content: flex-end;
    padding: 24rpx;

    .confirm-text {
      color: #1989fa;
      font-size: 24rpx;
    }
  }

  .form-content {
    padding: 0rpx 24rpx 24rpx;

    .form-group {
      margin-bottom: 32rpx;
      color: #414141;

      .label {
        font-size: 24rpx;
        margin-bottom: 16rpx;
      }

      .input-wrapper {
        background: #fff;
        border-radius: 8rpx;
        padding: 0 24rpx;
        display: flex;
        align-items: center;

        .preview {
          flex: 1;
          line-height: 1.2;
          font-size: 28rpx;
          padding: 20rpx 16rpx;
          min-height: 48rpx;
          line-height: 48rpx;
        }

        .input {
          flex: 1;
          height: 48rpx;
          line-height: 48rpx;
          font-size: 28rpx;
          padding: 20rpx 16rpx;

          &::placeholder {
            color: #999;
          }
        }

        .location-icon {
          font-size: 18px;
          padding: 3px;
          color: #1989fa;
          font-weight: bold;
        }
      }
    }

    .upload-section {
      .label {
        font-size: 28rpx;
        color: #333;
        margin-bottom: 16rpx;
      }

      .upload-area {
        display: flex;
        flex-wrap: wrap;
        gap: 24rpx;

        .upload-item {
          width: 200rpx;
          height: 200rpx;
          background: #fff;
          border-radius: 8rpx;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;

          .upload-icon {
            width: 48rpx;
            height: 48rpx;
            margin-bottom: 8rpx;
          }

          .upload-text {
            font-size: 24rpx;
            color: #058aff;
          }
        }

        .image-preview {
          width: 200rpx;
          height: 200rpx;
          border-radius: 8rpx;
          position: relative;

          .preview-image {
            width: 100%;
            height: 100%;
            border-radius: 8rpx;
          }

          .delete-btn {
            position: absolute;
            top: -16rpx;
            right: -16rpx;
            width: 32rpx;
            height: 32rpx;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20rpx;
          }
        }
      }
    }
  }

  .confirm-btn {
    position: fixed;
    bottom: 48rpx;
    left: 32rpx;
    right: 32rpx;
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
    background: #1989fa;
    color: #fff;
    font-size: 32rpx;
    border-radius: 44rpx;
  }

  .model-wrapper {
    width: 540rpx;
    border: 1px solid transparent;
    border-radius: 16rpx;
    background-color: #fff;
    overflow: hidden;

    .top {
      .cover {
        width: 100%;
      }
    }

    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10rpx;
      font-size: 12px;
      line-height: 1.5;

      .title1 {
        font-size: 14px;
        color: #000;
      }

      .agreement {
        margin: 10px 0;
        color: #058aff;
      }
    }

    .footer {
      border-top: 2rpx solid #edeef0;

      .ok-btn {
        text-align: center;
        font-size: 14px;
        font-weight: normal;
        color: #058aff;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
      }
    }
  }
}
